﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="HunterJobList.ascx.cs" Inherits="Job.Web.userControls.Admin.HunterJobList" %>


<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>

<asp:GridView ID="gridJobs" runat="server" BackColor="White" 
    BorderStyle="Solid" BorderWidth="1px" CellPadding="3" 
    GridLines="Horizontal" AutoGenerateColumns="False" 
    onrowediting="gridJobs_RowEditing" onrowdeleting="gridJobs_RowDeleting" 
    onrowdatabound="gridJobs_RowDataBound" Width="100%" BorderColor="#7070ff">
    <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
        <EmptyDataTemplate>
        <asp:Label>无猎头职位...</asp:Label>
    </EmptyDataTemplate>
    <Columns>
        <asp:TemplateField>
            <ItemTemplate>
                <asp:Label ID="lbJobId" runat="server" Text='<%# Bind("job_id") %>' Visible=false></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>        
        
        
        <asp:BoundField DataField="job_no" HeaderText="职位编号">
            <HeaderStyle CssClass="table_font_td" />
            <ItemStyle Width="14%" HorizontalAlign="left"  CssClass="table_font_td" />
        </asp:BoundField>
        <asp:BoundField DataField="name" HeaderText="职位名称">
            <HeaderStyle CssClass="table_font_td" />
            <ItemStyle Width="16%" HorizontalAlign="Left"  CssClass="table_font_td" />
        </asp:BoundField> 
        <asp:BoundField DataField="industry" HeaderText="所属行业">
            <HeaderStyle CssClass="table_font_td" />
            <ItemStyle Width="18%" HorizontalAlign=Left  CssClass="table_font_td" />
        </asp:BoundField>
        <asp:BoundField DataField="salary" HeaderText="职位年薪">
            <HeaderStyle CssClass="table_font_td" />
            <ItemStyle Width="18%" HorizontalAlign=Left  CssClass="table_font_td" />
        </asp:BoundField>
        <asp:BoundField DataField="office_address" HeaderText="工作地点"> 
            <HeaderStyle CssClass="table_font_td" />
            <ItemStyle Width="18%" HorizontalAlign=Left  CssClass="table_font_td" />
        </asp:BoundField>
        
        <asp:CommandField ShowEditButton="True" EditText="编辑" />
        <asp:CommandField ShowDeleteButton="true" DeleteText="删除"/>
    </Columns>
    <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
    <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
    <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
    <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
    <AlternatingRowStyle BackColor="#F7F7F7" />


</asp:GridView>


<webdiyer:AspNetPager ID="pagerButtom" runat="server" 
	ButtonImageNameExtension="n" ButtonImageExtension=".gif" 
        DisabledButtonImageNameExtension="g" CpiButtonImageNameExtension="r" 
		PagingButtonSpacing="10px" ButtonImageAlign="left" 
		onpagechanged="pagerButtom_PageChanged" CssClass="pagination" 
		CurrentPageButtonClass="current" PagingButtonClass="" 
		PagingButtonLayoutType="Span">
</webdiyer:AspNetPager>
<br />
<asp:Button ID="btNew" runat="server" onclick="btNew_Click" Text=" 新增猎头职位 " CssClass="btn_2k3" />

<br />										  
